package com.automobile.backstage.service;

import com.automobile.backstage.domain.Smart;

import java.util.List;

/**
 * 类的作用
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-03-25 18:49
 */
public interface SmartService {

    List<Smart> findAll(int page,int size);

    Smart findById(int id);

    void delete(int id);

    void delete(List<Integer> ids);

    void save(Smart smart);

    void update(Smart smart);

    void updateStatus(int status, int id);
}
